package com.example.cunion.mapper;

import com.example.cunion.entity.Chat;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.HashMap;
import java.util.List;

/**
* @author Aero
* @description 针对表【chat(ai聊天表)】的数据库操作Mapper
* @createDate 2023-10-15 15:04:04
* @Entity com.example.cunion.entity.Chat
*/
public interface ChatMapper extends BaseMapper<Chat> {

    Integer sendInfo(HashMap map);

    List<HashMap> searchInfoHistory(HashMap map);

    Integer updateStatus(String id);

    List<HashMap> searchMyMessage(HashMap map);

    List<HashMap> searchPrivateChatObject(String id);

    Integer searchIsNotRead(HashMap map);

}




